package com.example.demo.request;

import javax.validation.constraints.NotBlank;

/**
 * 根据名称获取数据源配置的请求类
 */
public class GetDataSourceConfigByNameRequest {
    
    @NotBlank(message = "数据源配置名称不能为空")
    private String name;
    
    public GetDataSourceConfigByNameRequest() {}
    
    public GetDataSourceConfigByNameRequest(String name) {
        this.name = name;
    }
    
    // Getter method
    public String getName() {
        return name;
    }
    
    // Setter method
    public void setName(String name) {
        this.name = name;
    }
}